package com.tecode.bean;

public class Code {
    private Integer id;

    private String name;

    private Integer codeid;

    public Code() {
    }

    public Code(Integer id, String name, Integer codeid) {
        this.id = id;
        this.name = name;
        this.codeid = codeid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getCodeid() {
        return codeid;
    }

    public void setCodeid(Integer codeid) {
        this.codeid = codeid;
    }

    @Override
    public String toString() {
        return "Code{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", codeid=" + codeid +
                '}';
    }
}